#-------------------------------------------------
#
# Project created by QtCreator 2020-02-13T21:04:56
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = detectMask
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += \
        main.cpp \
        mainwindow.cpp \
    detectmask.cpp

HEADERS += \
        mainwindow.h \
    detectmask.h

FORMS += \
        mainwindow.ui



unix:!mac:QMAKE_LFLAGS += -Wl,--rpath=.
INCLUDEPATH += /home/nvidia/zongsi/tearingBeltDetectMultiSensor/include
INCLUDEPATH += $$PWD/tinyinclude
#for TX2
unix:!macx: LIBS += -L/home/nvidia/zongsi/tearingBeltDetectMultiSensor/libs/opencvlib -lopencv_core -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc -lopencv_videoio \
                        -lopencv_cudaimgproc -lopencv_cudacodec -lopencv_cudaobjdetect -lopencv_cudaarithm


unix:!macx: LIBS += -L$$PWD/tinylib -lpaddle_light_api_shared
